/*
 * This is the main entrance point
 */

package com.sam.spring.test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import com.sam.spring.test.logger.Logger;

public class App {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("com/sam/spring/test/beans/beans.xml");
	
		Logger logger = (Logger) context.getBean("logger");
		
	
	
		((ClassPathXmlApplicationContext)context).close();
	

	}

}
